home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 046a / textusr1.zip / HARDDISK.BAT < prev    next >
DOS Batch File  |  1989-12-10  |  5KB  |  114 lines

  1. echo off
  2. cls
  3. echo  
  4. echo          ╔═════════════════════════════════════════════════╗
  5. echo          ╚══════╕ Online Greek Textus Receptus Files ╒═════╝
  6. echo                 └─────┐ Hard Disk Installation  ┌────┘
  7. echo                       └─────────────────────────┘
  8. echo  
  9. if %1!==! goto terminate
  10. if %1==A: goto terminate
  11. if %1==a: goto terminate
  12. if %1==B: goto terminate
  13. if %1==b: goto terminate
  14. if %1==A goto terminate
  15. if %1==a goto terminate
  16. if %1==B goto terminate
  17. if %1==b goto terminate
  18. if %1==C goto terminate
  19. if %1==c goto terminate
  20. if %1==D goto terminate
  21. if %1==d goto terminate
  22. if %1==E goto terminate
  23. if %1==e goto terminate
  24. echo         Installing the Online Greek files on hard drive %1 ...
  25. echo  
  26. echo         If you wish to install the Greek files on a drive other
  27. echo         than %1, press CTRL-BREAK now and restart the installation
  28. echo         program by typing INSTALL plus the letter AND colon of the
  29. echo         hard drive, e.g., INSTALL D: (do NOT omit the colon, or the
  30. echo         installation process will fail!).  Then press {ENTER} to
  31. echo         continue.
  32. echo  
  33. echo         You must have at least 1.5 megabytes of free space on your
  34. echo         hard disk for installation to succeed.  If you do NOT have
  35. echo         this amount of free space, exit this program by pressing CTRL-
  36. echo         BREAK now.  The individual archive files (GREEK-#.EXE) may be
  37. echo         run as self-extracting files from anywhere on your hard disk.
  38. echo  
  39. echo         Press any other key to continue the installation process...
  40. pause > nul
  41. cls
  42. echo  
  43. echo         The installation program will create the subdirectory
  44. echo         %1\GKTR on your hard disk.  The Greek Textus Receptus
  45. echo         files will be placed in that subdirectory.
  46. echo  
  47. echo         To view and/or utilize these files, you will have to change
  48. echo         to this subdirectory on your hard drive by the CD\GKTR
  49. echo         command.  Upon completion, this installation procedure exits
  50. echo         into that subdirectory for your convenience.
  51. echo  
  52. echo         If you see any error messages (CRC or other errors) during
  53. echo         the installation process, press CTRL-BREAK to terminate,
  54. echo         and begin anew.
  55. echo  
  56. echo         Note that the files will be extracted in the alphabetical
  57. echo         order of each archive and NOT in the order of the Biblical
  58. echo         books (e.g, MARK unarchives before MATTHEW and JOHN before
  59. echo         LUKE, etc.).  All New Testament files will be present upon
  60. echo         successful installation.
  61. echo  
  62. echo         If ready, press any key to begin automatic installation.
  63. pause > nul
  64. cls
  65. %1
  66. cd\
  67. md gktr
  68. cd\gktr
  69. copy a:*.doc %1
  70. copy a:li*.com %1
  71. a:greek-1
  72. a:greek-2
  73. :begin
  74. echo  
  75. echo      Insert disk 2 into drive A: and press any key to continue....
  76. echo  
  77. pause > nul
  78. if exist a:greek.doc goto :error
  79. if exist a:greek-3.exe goto continue
  80. goto begin
  81. :continue
  82. a:greek-3
  83. a:greek-4
  84. echo  
  85. echo      All Greek New Testament Textus Receptus files have now been
  86. echo      copied to %1\GKTR.  You will now be exited into that subdir-
  87. echo      ectory.  You may view the files by typing LIST {filename} and
  88. echo      pressing {ENTER} or by using any other ASCII file viewing
  89. echo      program including most word processors.
  90. echo  
  91. echo            Press any key to exit the installation program.
  92. echo  
  93. echo       ╔═══════════════════════════════════════════════════════╗
  94. echo       ║      Enjoy the ONLINE GREEK NT TEXTUS RECEPTUS !      ║
  95. echo       ╚═══════════════════════════════════════════════════════╝
  96. pause > nul
  97. goto end
  98. :error
  99. echo           Disk 1 still in Drive A: -- Replace with Disk 2
  100. echo           before attempting to continue.
  101. goto begin
  102. :terminate
  103. echo  
  104. echo       ██████████████████████████████████████████████████████████████
  105. echo       ██                                                          ██
  106. echo       ██ You did not properly specify which hard disk to install  ██
  107. echo       ██       the Online Greek Textus Receptus files onto.       ██
  108. echo       ██                                                          ██
  109. echo       ██   Try again, and be sure to designate the proper drive,  ██
  110. echo       ██   e.g., HARDDISK C: or HARDDISK D: (include the COLON!)  ██
  111. echo       ██                                                          ██
  112. echo       ██████████████████████████████████████████████████████████████
  113. goto end
  114. :end